<div class="paramSirtBases index">
	<h2><?php __('Param Sirt Bases');?></h2>
  
  <?php if ($paramSirtBases):?>	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('sirt_type_id');?></th>
			<th><?php echo $this->Paginator->sort('alpha');?></th>
			<th><?php echo $this->Paginator->sort('niter');?></th>
			<th><?php echo $this->Paginator->sort('nsubs');?></th>
			<th><?php echo $this->Paginator->sort('sirt_subset_mode_x_id');?></th>
			<th><?php echo $this->Paginator->sort('sirt_subset_mode_y_id');?></th>

			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($paramSirtBases as $paramSirtBasis):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $paramSirtBasis['ParamSirtBasis']['id']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($paramSirtBasis['SirtType']['name'], array('controller' => 'sirt_types', 'action' => 'view', $paramSirtBasis['SirtType']['id'])); ?>
		</td>
		<td><?php echo $paramSirtBasis['ParamSirtBasis']['alpha']; ?>&nbsp;</td>
		<td><?php echo $paramSirtBasis['ParamSirtBasis']['niter']; ?>&nbsp;</td>
		<td><?php echo $paramSirtBasis['ParamSirtBasis']['nsubs']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($paramSirtBasis['SirtSubsetModeX']['name'], array('controller' => 'sirt_subset_mode_xes', 'action' => 'view', $paramSirtBasis['SirtSubsetModeX']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($paramSirtBasis['SirtSubsetModeY']['name'], array('controller' => 'sirt_subset_mode_ies', 'action' => 'view', $paramSirtBasis['SirtSubsetModeY']['id'])); ?>
		</td>

		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $paramSirtBasis['ParamSirtBasis']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $paramSirtBasis['ParamSirtBasis']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $paramSirtBasis['ParamSirtBasis']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $paramSirtBasis['ParamSirtBasis']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
  
  <?php else:?><p>There are currently no records to display.  <?php echo $this->Html->link(__('Add one now', true), array('action' => 'add')); ?></p><?php endif; ?>  
</div>

<!-- MENU -->
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Param Sirt Basis', true), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Sirt Types', true), array('controller' => 'sirt_types', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sirt Type', true), array('controller' => 'sirt_types', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sirt Subset Mode Xes', true), array('controller' => 'sirt_subset_mode_xes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sirt Subset Mode X', true), array('controller' => 'sirt_subset_mode_xes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sirt Subset Mode Y\'s', true), 
                                     array('controller' => 'sirt_subset_mode_ys', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sirt Subset Mode Y', true), array('controller' => 'sirt_subset_mode_ys', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Param Sirts', true), array('controller' => 'param_sirts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Param Sirt', true), array('controller' => 'param_sirts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Param Sirt Favorites', true), array('controller' => 'param_sirt_favorites', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Param Sirt Favorite', true), array('controller' => 'param_sirt_favorites', 'action' => 'add')); ?> </li>
	</ul>
</div>